<template>
  <div>
    <Tree :data="data1"></Tree>
  </div>
</template>
<script>
export default {
  data() {
    return {
      data1: [
        {
          title: "公共资源下载",
        },
        {
          title: "气象数据服务",
          expand: false,
          children: [
            {
              title: "天气预报查询",
              expand: false,
              children: [
                {
                  title: "城市天气预报"
                },
                {
                  title: "海区天气预报"
                }
              ]
            },
            {
              title: "历史天气查询",
              expand: false,
              children: [
                {
                  title: "24小时历史天气"
                },
                {
                  title: "指定日期历史天气"
                },
                {
                  title: "指定小时历史天气"
                },
                {
                  title: "月度历史天气"
                },
                {
                  title: "年度历史天气"
                }
              ]
            },
            {
              title: "天气实况查询",
              expand: false,
              children: [
                {
                  title: "城市天气实况"
                }
              ]
            }
          ]
        },
        {
          title: "环境数据服务",
          expand: false,
          children: [
            {
              title: "水体环境查询",
              expand: false,
              children: [
                {
                  title: "水质周报"
                }
              ]
            },
            {
              title: "空气质量查询",
              expand: false,
              children: [
                {
                  title: "城市空气质量实况"
                },
                {
                  title: "城市24小时空气质量"
                },
                {
                  title: "城市指定日期空气质量"
                },
                {
                  title: "城市指定小时空气质量"
                },
                {
                  title: "空气质量支持城市列表"
                },
                {
                  title: "城市空气质量测点列表"
                },
                {
                  title: "城市全测点空气质量实况"
                },
                {
                  title: "单测点空气质量实况"
                },
                {
                  title: "城市全测点指定小时空气质量"
                },
                {
                  title: "单测点指定小时空气质量"
                },
                {
                  title: "单测点指定日期空气质量"
                }
              ]
            },
            {
              title: "污染排放查询",
              expand: false,
              children: [
                {
                  title: "年度污染排放"
                },
                {
                  title: "省级历史污染排放"
                }
              ]
            },
            {
              title: "城市辐射查询",
              expand: false,
              children: [
                {
                  title: "城市大气辐射"
                }
              ]
            }
          ]
        },
        {
          title: "灾害数据服务",
          expand: false,
          children: [
            {
              title: '地震查询',
              expand: false,
              children: [
                {
                  title: '最近一次地震',
                },{
                  title: '指定日期地震',
                },{
                  title: '指定城市地震',
                },{
                  title: '指定时段地震',
                },
              ]
            },{
              title: '台风查询',
              expand: false,
              children: [
                {
                  title: '台风概要',
                },{
                  title: '台风详情',
                },
              ]
            }
          ]
        },{
          title: "地理数据服务",
          expand: false,
          children: [
            {
              title: '城市位置查询',
              expand: false,
              children: [
                {
                  title: '城市地理位置',
                },
              ]
            },{
              title: '坐标范围查询',
              expand: false,
              children: [
                {
                  title: '范围覆盖城市',
                },
              ]
            },{
              title: '城市编码查询',
              expand: false,
              children: [
                {
                  title: '所有城市编码',
                },{
                  title: '指定城市编码',
                },
              ]
            },{
              title: '定位服务',
              expand: false,
              children: [
                {
                  title: '经续度定位',
                },
              ]
            }
          ]
        }
      ]
    };
  }
};
</script>
<style>
.demo-carousel {
  width: 100%;
  height: 600px;
  font-size: 40px;
}

img {
  width: 100%;
  height: 600px;
}
</style>
